package com.sakura.flowers.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sakura.flowers.entity.CategoryFlower;
import com.sakura.flowers.service.CategoryFlowerService;
import com.sakura.flowers.mapper.CategoryFlowerMapper;
import org.springframework.stereotype.Service;

/**
* @author Sakura
* @description 针对表【category_flower】的数据库操作Service实现
* @createDate 2024-02-20 22:10:46
*/
@Service
public class CategoryFlowerServiceImpl extends ServiceImpl<CategoryFlowerMapper, CategoryFlower>
    implements CategoryFlowerService{

    @Override
    public Page<CategoryFlower> queryByPage(Integer pageNo, Integer pageSize, String searchKey) {
        Page<CategoryFlower> categoryFlowerPage = this.page(new Page<>(pageNo, pageSize));
        return categoryFlowerPage;
    }
}




